<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<title>회원정보</title>
<jsp:useBean id="pinfo" class="ch06.PersonalInfo"/>
<jsp:setProperty name="pinfo" property="name" param="name"/>
<jsp:setProperty name="pinfo" property="gender" param="gender"/>
<jsp:setProperty name="pinfo" property="age" param="age"/>
이름: <jsp:getProperty name="pinfo" property="name"/><br>
성별: <jsp:getProperty name="pinfo" property="gender"/><br>
나이: <jsp:getProperty name="pinfo" property="age"/><br>